package com.original.simuladoresws.ws;

import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.Style;
import javax.jws.soap.SOAPBinding.Use;

import com.original.simuladoresws.controller.FixedIncomeController;
import com.original.simuladoresws.entities.soap.SOAPFixedIncomeSaveInput;
import com.original.simuladoresws.entities.soap.SOAPBaseOutput;

@WebService(serviceName="/FixedIncomeSaveService")
@SOAPBinding(style = Style.RPC, use = Use.LITERAL)
public class FixedIncomeSaveService{
	FixedIncomeController controller = new FixedIncomeController();
	
    @WebMethod(operationName="fixedIncomeSave")
    public SOAPBaseOutput fixedIncomeSave(SOAPFixedIncomeSaveInput input) {
    	SOAPBaseOutput output = null;
        if (input != null) {
        	output = controller.fixedIncomeSave(input);
        }
        return output;
    }
}
